﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AppCode/MasterPages/Employee.master" AutoEventWireup="true" CodeFile="OrderInsurance.aspx.cs" Inherits="AppCode_Employee_OrderInsurance" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
    <div style="width: 700px; margin: 0 auto; margin-left: 300px;">
        <p style="font-size: 19px; font-weight: bold; margin-top: 40px; margin-bottom: 10px; margin-left: 70px;">Oder For Insurance Policy</p>
        <table style="border-spacing:30px 10px">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="PolicyId"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtPolicyId" runat="server" Enabled="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="PolicyName"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtPolicyName" runat="server" Enabled="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label5" runat="server" Text="policyAmount"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtpolicyAmount" runat="server" Enabled="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label7" runat="server" Text="Emi"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtEmi" runat="server" Enabled="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label9" runat="server" Text="Request Date"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtRequestDate" runat="server"></asp:TextBox>
                    <asp:CalendarExtender ID="txtRequestDate_CalendarExtender" runat="server" TargetControlID="txtRequestDate">
                    </asp:CalendarExtender>
                </td>
                <td>
                    <asp:Label ID="Label10" runat="server" Text="Request Date is required" ForeColor="#CC0000"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label11" runat="server" Text="CompanyId"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtCompanyId" runat="server" Enabled="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label13" runat="server" Text="CompanyName"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtCompanyName" runat="server" Enabled="False"></asp:TextBox></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <asp:Button ID="Button1" runat="server" Text="Order" Height="30px" Width="80px" OnClick="Button1_Click" /></td>
            </tr>
        </table>
        <p style="color:#f00; margin-left: 100px; font-size:17px;" runat="server" id="success">Order Insurance successfully</p>
    </div>
</asp:Content>

